﻿<navigation:Page x:Class="RegOnline.Home" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
    mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="640" 
    Title="Логин"
    Style="{StaticResource PageStyle}">

    <Grid x:Name="LayoutRoot" Visibility="Collapsed">
        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">

            <StackPanel x:Name="ContentStackPanel" HorizontalAlignment="Center" Height="381">
                <sdk:Label Height="27" Name="label1"  Width="147" Content="Выбор пользователя" FontSize="13" />
                <StackPanel  Orientation="Horizontal" >
                    <sdk:Label Content="Преподаватели:"  Margin="2" FontSize="12" Width="120" />
                    <ComboBox Style="{StaticResource PageComboboxStyle}"  Grid.Column="1" Height="23" HorizontalAlignment="Left" ItemsSource="{Binding}" Margin="3,3,0,3" Name="personComboBox" Width="250" FontSize="12" SelectionChanged="personComboBox_SelectionChanged">
                        <ComboBox.ItemTemplate>
                            <DataTemplate>
                                <TextBlock Text="{Binding Path=person}"/>
                            </DataTemplate>
                        </ComboBox.ItemTemplate>
                         
                    </ComboBox>
                    <Button Content="Перейти" Height="23" Margin="2,2,2,2"  Name="button1"  Width="75"  FontSize="12" Click="button1_Click" Style="{StaticResource PageButtonStyle}" />

                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <sdk:Label Content="Студенты:"  Margin="2" FontSize="12" Width="120"  />
                    <ComboBox Height="23"  ItemsSource="{Binding}" Margin="3,3,0,3" Name="personComboBox1" Width="250" FontSize="12" Style="{StaticResource PageComboboxStyle}">
                        <ComboBox.ItemTemplate>
                            <DataTemplate>
                                <TextBlock Text="{Binding Path=person}"/>
                            </DataTemplate>
                        </ComboBox.ItemTemplate>
                    </ComboBox>
                    <Button Content="Перейти" Height="23" Margin="2,2,2,2" Name="button2" Width="75"  FontSize="12" Click="button2_Click" Style="{StaticResource PageButtonStyle}" />
                </StackPanel>
                <!--<Button x:Name="btnPrint" Content="Печать" Click="btnPrint_Click" Visibility="Collapsed" />-->
            </StackPanel>
        </ScrollViewer>
    </Grid>

</navigation:Page>